package com.design.designmode.struct.bridge;

/**
 * @author hxl
 * @since 2023-04-15
 */
public class Main {
    public static void main(String[] args) {
        Product product = new ProductA();
        Color red = new Red();
        product.setName("产品A");
        product.setColor(red);
        product.operation();
    }


}
